#ifndef WORKERLSS_H_
#define WORKERLSS_H_

#include <fstream>
#include <sstream>
#include <mpi.h>
#include <pthread.h>
#include <rmatrix.hpp>
#include <imatrix.hpp>
#include "../parallel/IminusAB.h"
#include "../parallel/CalculateDR2temp.h"
#include "../parallel/IminusABminusCB.h"

using namespace std;
using namespace cxsc;

class WorkerLss {
	private:
		int rank;
		int numThreads;
		bool debug;
		
		void setRank(int);
		void setNumThreads(int);
		void createOutputFile(void);
	public:
		WorkerLss(int, int, bool);
		~WorkerLss();
		int getRank(void);
		int getNumThreads(void);
		bool isDebug(void);
		void setDebug(bool);
		int startLss(void);
};

#endif /*SLAVELSS_H_*/
